package net.maku.kyy.convert;


import net.maku.kyy.entity.KyyUserGameEntity;
import net.maku.kyy.vo.KyyUserGameExcelVO;
import net.maku.kyy.vo.KyyUserGameVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 用户的游戏表
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Mapper
public interface KyyUserGameConvert {
    KyyUserGameConvert INSTANCE = Mappers.getMapper(KyyUserGameConvert.class);

    KyyUserGameEntity convert(KyyUserGameVO vo);

    KyyUserGameVO convert(KyyUserGameEntity entity);

    List<KyyUserGameVO> convertList(List<KyyUserGameEntity> list);

    List<KyyUserGameEntity> convertList2(List<KyyUserGameVO> list);

    List<KyyUserGameExcelVO> convertExcelList(List<KyyUserGameEntity> list);

    List<KyyUserGameEntity> convertExcelList2(List<KyyUserGameExcelVO> list);
}